<template>
	<view class="content">
		<!-- 这里是状态栏 -->
		<view class="status_bar"></view>
		<Head :webtext='webtext'></Head>
		<view class="body">
			<!-- <web-view class="webb" src="https://uniapp.dcloud.io/static/web-view.html"></web-view> -->
			<web-view class="webb" :src="url"></web-view>
		</view>
	</view>
</template>

<script>
	import Head from '../../components/head.vue'
	export default {
		components:{  
			Head
		},
		data(){
			return{
				webtext:"客服",
				url:''
			};
		},
		onLoad(e) {
			console.log(e);
			this.url = e.url
		}
	}
</script>

<style scoped>
	.body{
		height: calc(100vh - 88upx - var(--status-bar-height));
		overflow-y: auto;
		background: white;
	}
	.webb{
		margin-top: 88upx;
	}
</style>
